#ifndef _PARSER_H
#define _PARSER_H
/**
 * the interface to the parser, which has as output the full AST
 */
#include "language_parser.h"
#include "ast.h"
#include "language_scanner.h"

AST_node* parse_language(scanner_state *state);
void* ParseAlloc(void*(*mallocProc)(size_t));
void Parse(void*,int,token_value*,AST_node*);
void ParseFree(void*,void(*freeProc)(void*));
#endif
